<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Checkout.aspx.cs" Inherits="Checkout" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table border="0" cellpadding="10" cellspacing="0" width="100%">
        <tr>
            <td>
                <table align="center" border="0" cellpadding="5" cellspacing="0">
                    <tr>
                        <td align="left">
                            Customer ID
                        </td>
                        <td align="left">
                            :</td>
                        <td align="left">
                            <asp:Label ID="lblCustomerID" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="left">
                            Full Name
                        </td>
                        <td align="left">
                            :</td>
                        <td align="left">
                            <asp:Label ID="lblFullName" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="left">
                            Order Date
                        </td>
                        <td align="left">
                            :</td>
                        <td align="left">
                            <asp:Label ID="lblOrderDate" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="left">
                            &nbsp;</td>
                        <td align="left">
                            &nbsp;</td>
                        <td align="left">
                            <asp:TextBox ID="txtRequiredDate" runat="server" Width="80px" 
                                ValidationGroup="Checkout" Visible="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">
                            Shipping Address
                        </td>
                        <td align="left" valign="top">
                            :</td>
                        <td align="left">
                            <asp:TextBox ID="txtShipAddress" runat="server" Height="70px" TextMode="MultiLine"
                                Width="287px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">
                        </td>
                        <td align="left" valign="top">
                        </td>
                        <td align="left">
                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtRequiredDate"
                                Display="Dynamic" ErrorMessage="Ngay yeu cau khong hop le !" Operator="GreaterThan"
                                Type="Date" ValidationGroup="Checkout"></asp:CompareValidator>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" Width="100%">
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#EFF3FB" />
                    <EditRowStyle BackColor="#2461BF" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Button ID="btnPlaceOrder" runat="server" Text="Place Order" 
                    OnClick="btnPlaceOrder_Click" Width="100px" ValidationGroup="Checkout" 
                    Height="26px" />
                &nbsp;<asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="100px" />
                </td>
        </tr>
    </table>
</asp:Content>

